c3249808ed413fee04e68060d217757d6694a162,src/main/java/si/meansoft/traincraft/tileEntities/TileEntityDistillery.java,TileEntityDistillery,writeToNBT,#NBTTagCompound#,176
Before Change
@Override
public void writeToNBT(NBTTagCompound compound) {
this.writeTileEntity(compound);
super.writeToNBT(compound);
}
private NBTTagCompound writeTileEntity(NBTTagCompound compound){
After Change
@Override
public void writeToNBT(NBTTagCompound compound, boolean isForSyncing) {
super.writeToNBT(compound, isForSyncing);
this.tank.writeToNBT(compound);
compound.setInteger("currentCookTime", this.currentCookTime);
compound.setInteger("currentBurnTime", this.currentBurn);
if(isForSyncing){
compound.setInteger("maxBurnTime", this.maxBurnTime);
compound.setInteger("maxCookTime", this.maxCookTime);
}
else if(this.currentBurnStack != null){